package com.feign.feignservice.interfaces;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: he changjie on 2018/12/28
 * @Description:
 */
@FeignClient(value = "eureka-client",fallback = HelloFallBack.class)
public interface HelloInterface {
    @RequestMapping(value = "/hi",method = RequestMethod.GET)
    public String sayHi();
}
